package com.inossem.warehousestorage_inossem.bean.inStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/7/12.
 */

public class InStorageOtherConfirmRequestBean extends Bean {

    /**
     * supplier_code : 0020004102
     * supplier_name : 天津市天变航博电气发展有限公司
     * move_type_id : 511
     * reason_id : 511001
     * spec_stock_code : 111
     * remark : 666
     * fty_id : 2000
     * location_id : 20000004
     * user_list : [{"user_id":"a123457","role_id":"14"}]
     * item_list : [{"mat_id":"241213","unit_id":"149","qty":"10","batch_spec_list":[{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11"},{"batch_spec_code":"ZYXQ","batch_spec_value":"2012-12-12"}],"batch_material_spec_list":[{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_name","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_rid","batch_spec_value":"2012"},{"batch_spec_code":"demand_dept","batch_spec_value":"2012-12-11"}]}]
     */

    private String stock_input_code;//过账失败返回的入库单号
    private String stock_input_id;
    private String supplier_code;
    private String supplier_name;
    private String move_type_id;
    private String reason_id;
    private String spec_stock_code;
    private String remark;
    private String fty_id;
    private String location_id;
    private List<UserListBean> user_list;
    private List<StockInputItemListBean> item_list;

    public String getStock_input_id() {
        return stock_input_id;
    }

    public void setStock_input_id(String stock_input_id) {
        this.stock_input_id = stock_input_id;
    }

    public String getStock_input_code() {
        return stock_input_code;
    }

    public void setStock_input_code(String stock_input_code) {
        this.stock_input_code = stock_input_code;
    }

    public String getSupplier_code() {
        return supplier_code;
    }

    public void setSupplier_code(String supplier_code) {
        this.supplier_code = supplier_code;
    }

    public String getSupplier_name() {
        return supplier_name;
    }

    public void setSupplier_name(String supplier_name) {
        this.supplier_name = supplier_name;
    }

    public String getMove_type_id() {
        return move_type_id;
    }

    public void setMove_type_id(String move_type_id) {
        this.move_type_id = move_type_id;
    }

    public String getReason_id() {
        return reason_id;
    }

    public void setReason_id(String reason_id) {
        this.reason_id = reason_id;
    }

    public String getSpec_stock_code() {
        return spec_stock_code;
    }

    public void setSpec_stock_code(String spec_stock_code) {
        this.spec_stock_code = spec_stock_code;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getFty_id() {
        return fty_id;
    }

    public void setFty_id(String fty_id) {
        this.fty_id = fty_id;
    }

    public String getLocation_id() {
        return location_id;
    }

    public void setLocation_id(String location_id) {
        this.location_id = location_id;
    }

    public List<UserListBean> getUser_list() {
        return user_list;
    }

    public void setUser_list(List<UserListBean> user_list) {
        this.user_list = user_list;
    }

    public List<StockInputItemListBean> getItem_list() {
        return item_list;
    }

    public void setItem_list(List<StockInputItemListBean> stock_input_item_list) {
        this.item_list = stock_input_item_list;
    }

    public static class UserListBean {
        /**
         * user_id : a123457
         * role_id : 14
         */

        private String user_id;
        private String role_id;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getRole_id() {
            return role_id;
        }

        public void setRole_id(String role_id) {
            this.role_id = role_id;
        }
    }

    public static class StockInputItemListBean {
        /**
         * mat_id : 241213
         * unit_id : 149
         * qty : 10
         * batch_spec_list : [{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11"},{"batch_spec_code":"ZYXQ","batch_spec_value":"2012-12-12"}]
         * batch_material_spec_list : [{"batch_spec_code":"production_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"validity_time","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"contract_name","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_code","batch_spec_value":"2012-12-11"},{"batch_spec_code":"purchase_order_rid","batch_spec_value":"2012"},{"batch_spec_code":"demand_dept","batch_spec_value":"2012-12-11"}]
         */

        private String mat_id;
        private String unit_id;
        private String qty;
        private String stock_input_rid;
        private List<BatchSpecListBean> batch_spec_list;
        private List<BatchMaterialSpecListBean> batch_material_spec_list;

        public String getStock_input_rid() {
            return stock_input_rid;
        }

        public void setStock_input_rid(String stock_input_rid) {
            this.stock_input_rid = stock_input_rid;
        }

        public String getMat_id() {
            return mat_id;
        }

        public void setMat_id(String mat_id) {
            this.mat_id = mat_id;
        }

        public String getUnit_id() {
            return unit_id;
        }

        public void setUnit_id(String unit_id) {
            this.unit_id = unit_id;
        }

        public String getQty() {
            return qty;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public List<BatchSpecListBean> getBatch_spec_list() {
            return batch_spec_list;
        }

        public void setBatch_spec_list(List<BatchSpecListBean> batch_spec_list) {
            this.batch_spec_list = batch_spec_list;
        }

        public List<BatchMaterialSpecListBean> getBatch_material_spec_list() {
            return batch_material_spec_list;
        }

        public void setBatch_material_spec_list(List<BatchMaterialSpecListBean> batch_material_spec_list) {
            this.batch_material_spec_list = batch_material_spec_list;
        }

        public static class BatchSpecListBean {
            /**
             * batch_spec_code : ZSCRQ
             * batch_spec_value : 2012-12-11
             */

            private String batch_spec_code;
            private String batch_spec_value;

            public String getBatch_spec_code() {
                return batch_spec_code;
            }

            public void setBatch_spec_code(String batch_spec_code) {
                this.batch_spec_code = batch_spec_code;
            }

            public String getBatch_spec_value() {
                return batch_spec_value;
            }

            public void setBatch_spec_value(String batch_spec_value) {
                this.batch_spec_value = batch_spec_value;
            }
        }

        public static class BatchMaterialSpecListBean {
            /**
             * batch_spec_code : production_time
             * batch_spec_value : 2012-12-11
             */

            private String batch_spec_code;
            private String batch_spec_value;

            public String getBatch_spec_code() {
                return batch_spec_code;
            }

            public void setBatch_spec_code(String batch_spec_code) {
                this.batch_spec_code = batch_spec_code;
            }

            public String getBatch_spec_value() {
                return batch_spec_value;
            }

            public void setBatch_spec_value(String batch_spec_value) {
                this.batch_spec_value = batch_spec_value;
            }
        }
    }
}
